package com.lwm.mybatis.lazy.dao;


import com.lwm.mybatis.cache.pojo.Account;
import com.lwm.mybatis.lazy.pojo.UserAccount;

import java.util.List;

/**
 * @author liweimin
 * @date 2021/6/17 9:22
 * @since
 */
public interface UserDAO {

    /**
     * findAll
     *
     * @return
     */
    List<UserAccount> findAll();


    /**
     * select
     *
     * @param uid
     * @return
     */
    List<Account> findAccountByUserId(Integer uid);
}
